package cn.ncu.dao;

import cn.ncu.entity.Place;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author:Martina
 * @create:2020-07-16 14:44
 * @description:
 */
public interface PlaceDao extends BaseDao<Place,String>{

    List<Place> findByProvinceIdPage(@Param("start") Integer start, @Param("rows") Integer rows, @Param("provinceId") String provinceId);

    Integer findByProvinceIdCounts(String provinceId);

    List<String> findProvinces();
}
